package cn.fighter3.service.impl;

import cn.fighter3.entity.node.Fgbook;
import cn.fighter3.service.node.FgbookDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FgbookService {
    @Autowired
    FgbookDao fgbookDao;

    public List<Fgbook> findAll(){

//        List<Fgbook> fgbookDaoAll = (List<Fgbook>) fgbookDao.findAll();
//        List<Book> all =List<Book> fgbookDaoAll;
        return (List<Fgbook>) fgbookDao.findAll();
    }

}
